package com.woniu.web.controller;

import com.woniu.common.entity.TbJpUserPart;

import com.woniu.web.service.TbJpUserPartService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;
import java.util.List;

@RestController
@Api(value = "用户模块")
public class TbJpUserPartController {
    @Resource
    TbJpUserPartService tbJpUserPartService;
    @GetMapping("/")
    @ApiOperation(value = "查找用户", notes = "This method for 查找用户's 增加用户")
    public List<TbJpUserPart> findAll(){
       return tbJpUserPartService.findAll();
    }
}
